package org.zch.service;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.zch.entity.po.OpenAdminPO;
import org.zch.entity.po.ZuoRuiPO;

import java.util.List;

/**
 * 焯瑞开关公共类
 *
 * @author 赵昌虎
 */
@Service
public interface OpenAdminService {

    /**
     * 新增信息
     */
    @Async
    @Transactional(rollbackFor = Exception.class)
    Integer addOpen(String news, String version,String tips);

    /**
     * 获取信息
     */
    OpenAdminPO getOpen();


}
